home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / hotkey-setup.postinst < prev    next >
Text File  |  2008-10-15  |  594b  |  23 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. # Remove symlinks to script to have them reinserted by debhelper
  6. # without the shutdown and reboot links; this init script does not
  7. # need them.
  8. if dpkg --compare-versions "$2" lt "0.1-17.2"; then
  9.     update-rc.d -f hotkey-setup remove
  10. fi
  11.  
  12. # Automatically added by dh_installinit
  13. if [ -x "/etc/init.d/hotkey-setup" ]; then
  14.     update-rc.d hotkey-setup start 20 2 3 4 5 . stop 20 1 . >/dev/null
  15.     if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
  16.         invoke-rc.d hotkey-setup start || exit $?
  17.     else
  18.         /etc/init.d/hotkey-setup start || exit $?
  19.     fi
  20. fi
  21. # End automatically added section
  22.  
  23.